# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=scrounge-ntfs
pkgver=0.9
pkgrel=7
groups=('blackarch' 'blackarch-forensic')
pkgdesc='Data recovery program for NTFS file systems.'
arch=('x86_64' 'aarch64')
url='http://thewalter.net/stef/software/scrounge/'
license=('BSD')
makedepends=('autoconf' 'automake')
source=("http://thewalter.net/stef/software/scrounge/$pkgname-$pkgver.tar.gz")
sha512sums=('7d8ba55a8e95b83d0eee5a0f540d22ec572d9724f32d64aec9f3e817b32fcc5d4502979ccd61b1d98adbd559c361d69dc2a288d02de7945855ce51c36c452b07')

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr --sbindir=/usr/bin

  make
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

